package com.example.demo.service;

import com.example.demo.entity.Company;

import java.util.List;

public interface CompanyService {

    Company createCompany(Company company);

    int deleteCompany(Integer cid);

    void logicalDeleteCompany(Integer cid);

    int updateCompany(Company company);

    Company findCompanyById(Integer cid);

    List<Company> findAllValidCompanies();

    List<Company> findCompaniesByPort(String portName);

    List<Company> findCompaniesByManager(String managerName);
}
